﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/SecretaryMaster.Master" AutoEventWireup="true" CodeBehind="Crear.aspx.cs" Inherits="Interfaces.Orden.Crear" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #Button1
        {
            text-align: right;
        }
        #Button4
        {
            text-align: right;
        }
        #Button5
        {
            text-align: right;
        }
        #Button6
        {
            text-align: right;
            width: 89px;
        }
        #Button7
        {
            text-align: right;
            width: 88px;
        }
        .style1
        {
            width: 160px;
        }
        .style2
        {
            width: 59px;
        }
        #Button2
        {
            text-align: right;
        }
        #Button3
        {
            text-align: right;
        }
        #Button4
        {
            text-align: right;
        }
        #Button6
        {
            text-align: right;
        }
        #Button6
        {
            text-align: right;
        }
        #Button2
        {
            text-align: right;
        }
        .style21
        {
            width: 305px;
        }
        .style22
        {
            width: 98px;
        }
        .style23
        {
            width: 163px;
        }
        .style24
        {
            width: 217px;
        }
        </style>
<script language="javascript" type="text/javascript">
// <![CDATA[

function Agregar punto_onclick() {

}

// ]]>
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>
    <br />
    <asp:Panel ID="Panel1" runat="server" GroupingText="Crear orden del día" 
        style="text-align: left">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <br />
                Seleccione la fecha de la orden del día:&nbsp;&nbsp;
                <br />
                <asp:TextBox ID="dateTextBox" runat="server" Enabled="False"></asp:TextBox>
                <asp:CalendarExtender ID="dateTextBox_CalendarExtender" runat="server" 
                TargetControlID="dateTextBox" PopupButtonID="ImageButton1" 
                Format="yyyy-MM-dd">
                </asp:CalendarExtender>
                <asp:ImageButton ID="ImageButton1" runat="server" 
                ImageUrl="~/Images/calendar.jpg" />
                <br />
                <ContentTemplate>
                    <ContentTemplate>
                        <table style="width:100%;">
                            <tr>
                                <td class="style1">
                                    &nbsp;</td>
                                <td class="style2">
                                    Puntos:<asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                        <ContentTemplate>
                                            <asp:ListBox ID="ListBox1" runat="server" Height="362px" 
                                            style="margin-left: 31px" Width="580px" 
                                            onselectedindexchanged="ListBox1_SelectedIndexChanged" ></asp:ListBox>
                                            <ajaxToolkit:DropShadowExtender ID="ListBox1_DropShadowExtender" runat="server" 
                                            Opacity="100" Radius="10" TargetControlID="ListBox1">
                                            </ajaxToolkit:DropShadowExtender>
                                            <ajaxToolkit:RoundedCornersExtender ID="ListBox1_RoundedCornersExtender" 
                                            runat="server" BorderColor="LightBlue" Corners="Left" Radius="15" 
                                            TargetControlID="ListBox1">
                                            </ajaxToolkit:RoundedCornersExtender>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                        <div>
                            <br />
                        </div>
                        <br />
                        <table style="width:100%;">
                            <tr>
                                <td class="style24">
                                    &nbsp;</td>
                                <td class="style21">
                                    <asp:TextBox ID="textPoint" runat="server" Height="17px" MaxLength="50" 
                                        style="margin-left: 0px" Width="285px"></asp:TextBox>
                                    <asp:TextBoxWatermarkExtender ID="textPoint_TextBoxWatermarkExtender" 
                                        runat="server" TargetControlID="textPoint" 
                                        WatermarkText="Escriba el punto aquí">
                                    </asp:TextBoxWatermarkExtender>
                                </td>
                                <td class="style22">
                                    <asp:Button ID="Point" runat="server" onclick="Point_Click" Text="Punto" CssClass="JCIstyle"
                                        Width="90px" />
                                </td>
                                <td>
                                    <asp:Button ID="subPoint" runat="server" onclick="subPoint_Click" CssClass="JCIstyle"
                                        Text="Sub-punto" Width="90px" />
                                </td>
                            </tr>
                            <tr>
                                <td class="style24">
                                    &nbsp;</td>
                                <td class="style21">
                                    <asp:TextBox ID="textMod" runat="server" Height="16px" MaxLength="50" 
                                        style="text-align: center; margin-left: 0px;" Width="286px"></asp:TextBox>
                                    <asp:TextBoxWatermarkExtender ID="textMod_TextBoxWatermarkExtender" 
                                        runat="server" TargetControlID="textMod" 
                                        WatermarkText="Doble click en el punto a modificar">
                                    </asp:TextBoxWatermarkExtender>
                                </td>
                                <td class="style22">
                                    <asp:Button ID="Modificar" runat="server" onclick="Modificar_Click" CssClass="JCIstyle"
                                        Text="Modificar" Width="90px" />
                                </td>
                                <td>
                                    <asp:Button ID="Eliminar" runat="server" onclick="Eliminar_Click" CssClass="JCIstyle"
                                        Text="Eliminar" Width="90px" />
                                </td>
                            </tr>
                            <tr>
                                <td class="style24">
                                    &nbsp;</td>
                                <td class="style21">
                                    <asp:Label ID="Label1" runat="server" ForeColor="#FF3300" 
                                        style="text-align: center"></asp:Label>
                                </td>
                                <td class="style22">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>
                        <br />&nbsp;
                    </ContentTemplate>
                </ContentTemplate>
                <br />
                <table style="width:100%;" align="center">
                    <tr>
                        <td style="text-align: center">
                            &nbsp;<asp:Button ID="Guardar" runat="server" onclick="Guardar_Click" CssClass="JCIstyle"
                                        Text="Guardar" Width="90px" />
                        </td>
                    </tr>
                </table>
                <br />
            </ContentTemplate>
        </asp:UpdatePanel>
    </asp:Panel>
    <br />
    </asp:Content>
